home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-10 | 652 b | 20 lines | [TEXT/MPS ] |
- NoResDialog
-
- OK, so despite all your planning, you still think you may need to
- create dialogs on the fly , without having any resource templates
- available for the DITL.
-
- Pain in the butt. The Dialog Manager was not designed for not using resources, so
- you'll be abusing a manager again to do so (hehehehe).
- But doable, and actually not that much of a pain once you have some basic information.
-
- This small sample shows how, it creates a dialog with an OK button witha border
- around it all with in-memory data structures, no resources used.
-
- Just look at the function NoResDialog(...), and you'll see.
-
- Enjoy,
- C.K. Haun
- Apple Something or other
- 2/1994
-